/*
 * @Author: shawnXiao
 * @Date: 2021-12-19 20:37:10
 * @LastEditTime: 2021-12-19 20:51:55
 * @FilePath: /vue3-vite2-ts-antdv/src/types/global.d.ts
 */
import type {
  ComponentPublicInstance,
  FunctionalComponent,
} from 'vue'

declare global {
  const __APP_INFO__: {
    pkg: {
      name: string
      version: string
    }
    lastBuildTime: string
  }
  // declare interface Window {
  //   // Global vue app instance
  //   __APP__: App<Element>;
  // }

}

declare module 'vue' {
  export type JSXComponent<Props = any> = { new (): ComponentPublicInstance<Props> } | FunctionalComponent<Props>
}
